package com.zixuan.sina.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoVo {
    public UserInfoVo(String id, String name, String avatar, String introduction, Object[] roles) {
        this.id = id;
        this.name = name;
        this.avatar = avatar;
        this.introduction = introduction;
        this.roles = roles;
    }

    private String id;//用户ID
    private String name;//用户名称
    private String avatar;//头像
    private String phone;//手机
    private String email;//邮箱
    private String introduction;//介绍
    private Object[] roles;//角色权限集合
    private String roleNames;//角色名称集合
    private List<String> thumbList;//当前用户点赞集合

}
